git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33de9c5
)
Fix Makefile to use plain sed. Remove unicode trickery
author
Anton M
<obhvsbypqghgc@gmail.com>
Mon, 24 Jan 2011 19:01:25 +0000
(20:01 +0100)
committer
Anton M
<obhvsbypqghgc@gmail.com>
Mon, 24 Jan 2011 19:01:25 +0000
(20:01 +0100)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
c708db5
..
146b5e3
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,4
+1,4
@@
-V ?= 0
+V ?= 0
SRC_DIR = src
TEST_DIR = test
@@
-96,10
+96,8
@@
min: ${JQ_MIN}
${JQ_MIN}: ${JQ}
@@echo "Building" ${JQ_MIN}
- @@${COMPILER} ${JQ} > ${JQ_MIN}.tmp
- @@echo ";" >> ${JQ_MIN}.tmp
- @@sed 's/\*\/(/*\/ʩ(/' ${JQ_MIN}.tmp | tr "ʩ" "\n" > ${JQ_MIN}
- @@rm -rf ${JQ_MIN}.tmp
+ @@${COMPILER} ${JQ} > ${JQ_MIN}
+ @@sed -i '$ s#^\( \*/\)\(.\+\)#\1\n\2;#' ${JQ_MIN}
clean:
@@echo "Removing Distribution directory:" ${DIST_DIR}